#ifndef __MC500_CONFIG_H__
#define __MC500_CONFIG_H__

#define LOG(fmt, ...) printf(fmt, __VA_ARGS__)

typedef int32_t ErrorCode;

const ErrorCode MC500_SUCCESS = 0;
const ErrorCode MC500_ERROR_NOT_SUCH_DEVICE = 1;
const ErrorCode MC500_ERROR_CONFIG_COM_FAILED  = 2;
const ErrorCode MC500_ERROR_CLEAR_COM_ERROR  = 3;
const ErrorCode MC500_ERROR_GET_COM_STATUS = 4;


#endif